package com.karson.common.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
 * @author ZKS
 */
@Data
public class TagResponse implements Serializable {
    @Serial
    private static final long serialVersionUID=1L;
    @Schema(description="主键，标签的唯一标识符")
    private Integer id;
    @Schema(description="标签名称（字符串，必填）")
    private String name;
    @Schema(description="该标签含有内容数")
    private Integer num;
    @Schema(description="标签创建时间戳")
    private Date createdAt;
    @Schema(description = "点赞量")
    private Integer tagGreat;
    @Schema(description = "点踩量")
    private Integer tagLess;
    @Schema(description = "点赞状态")
    private Boolean isLike;
    @Schema(description = "点踩状态")
    private Boolean isDisLike;
}
